package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 会议对象 conference
 *
 * @author ruoyi
 * @date 2024-06-13
 */
public class Conference extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID;主键ID
     */
    private Long conId;

    /**
     * 创建人;创建人
     */
    @Excel(name = "创建人;创建人")
    private String createdBy;

    /**
     * 创建时间;创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间;创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 更新人;更新人
     */
    @Excel(name = "更新人;更新人")
    private String updatedBy;

    /**
     * 更新时间;更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间;更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    /**
     * 删除标识;删除标识:0:未删除;1:已删除
     */
    @Excel(name = "删除标识;删除标识:0:未删除;1:已删除")
    private String isDelete;

    /**
     * 会议名称;会议名称
     */
    @Excel(name = "会议名称;会议名称")
    private String conName;

    /**
     * 会议开始时间;会议开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "会议开始时间;会议开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date conStartTime;

    /**
     * 会议结束时间;会议结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "会议结束时间;会议结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date conEndTime;

    /**
     * 会议状态;0:未开始;1:已开始;2:已结束
     */
    @Excel(name = "会议状态;0:未开始;1:已开始;2:已结束")
    private String conState;

    /**
     * 会议排序;会议排序
     */
    @Excel(name = "会议排序;会议排序")
    private Long conSort;

    /**
     * 会议密码;会议密码
     */
    @Excel(name = "会议密码;会议密码")
    private String conPassworrd;

    /**
     * 参会人员;参会人员
     */
    @Excel(name = "参会人员;参会人员")
    private String conUserId;

    private SysUser sysUser;

    public Long getConId() {
        return conId;
    }

    public void setConId(Long conId) {
        this.conId = conId;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getConName() {
        return conName;
    }

    public void setConName(String conName) {
        this.conName = conName;
    }

    public Date getConStartTime() {
        return conStartTime;
    }

    public void setConStartTime(Date conStartTime) {
        this.conStartTime = conStartTime;
    }

    public Date getConEndTime() {
        return conEndTime;
    }

    public void setConEndTime(Date conEndTime) {
        this.conEndTime = conEndTime;
    }

    public String getConState() {
        return conState;
    }

    public void setConState(String conState) {
        this.conState = conState;
    }

    public Long getConSort() {
        return conSort;
    }

    public void setConSort(Long conSort) {
        this.conSort = conSort;
    }

    public String getConPassworrd() {
        return conPassworrd;
    }

    public void setConPassworrd(String conPassworrd) {
        this.conPassworrd = conPassworrd;
    }

    public String getConUserId() {
        return conUserId;
    }

    public void setConUserId(String conUserId) {
        this.conUserId = conUserId;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("conId", getConId())
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updatedBy", getUpdatedBy())
                .append("updatedTime", getUpdatedTime())
                .append("isDelete", getIsDelete())
                .append("conName", getConName())
                .append("conStartTime", getConStartTime())
                .append("conEndTime", getConEndTime())
                .append("conState", getConState())
                .append("conSort", getConSort())
                .append("conPassworrd", getConPassworrd())
                .append("conUserId", getConUserId())
                .toString();
    }
}
